define(['./../service/showMsg', './../directive/toggleButton', './../directive/digitInput'], function() {
    var app = angular.module('App.home');
    app.controller('homeCtrl', ['$scope', '$rootScope', '$location', '$http', 'showMsg',
        function($scope, $rootScope, $location, $http, showMsg) {
            function initialHeight() {
                var height = document.documentElement.clientHeight;
                $('#ng-scope').height(height);
                var h1 = $('#digit-panel').height();
                var h2 = $('#menu-panel').height();
                $('#display-panel').height(height - h1 - h2);
            }
            initialHeight();
            $scope.singleCheck = function() {
                $scope.single = true;
            };
            $scope.multipleCheck = function() {
                $scope.single = false;
            };
            $scope.single = true;
            $scope.startDevice = 1;
            $scope.endDevice = 44;
        }
    ]);
});
